export const nologin = ({store, redirect}) => {
    // If the user is not authenticated
    if (!store.state.isLogin) {
        return redirect('/login')
    }
}
export const haslogin = ({store, redirect}) => {
    // If the user is not authenticated
    if (store.state.isLogin) {
        return redirect('/')
    }
}